﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class exFieldControlInfo
    {
        /// <summary>
        /// 数据字段类型(数据字段的类型如int,varchar等)
        /// </summary>
        public string FieldType { get; set; }

        /// <summary>
        /// 数据字段名称
        /// </summary>
        public string FieldName { get; set; }

        /// <summary>
        /// 字段描述（用于布局）
        /// </summary>
        public string FieldDescription { get; set; }

        private List<exControlInfo> _ControlList;

        /// <summary>
        /// 该字段对应的可选控件列表
        /// </summary>
        public List<exControlInfo> ControlList
        {
            get
            {
                if (_ControlList == null)
                {
                    _ControlList = new List<exControlInfo>();
                }
                  return _ControlList;
            }
            set { _ControlList = value; }
        }
    }
}
